<?php
	$css_list[0]['url'] = './tpl/css/album.css';
	$js_list[0] = './tpl/js/album.js';
?>
<!--{template inc/header}-->
<div id="body" class="fm960"> 
	<!--{if !empty($flash_album)}-->
	<!--{subtemplate page/album/album_flash}-->
	<!--{/if}-->
	<!--{if !empty($best_album)}-->
	<!--{subtemplate page/album/album_base}-->
	<!--{/if}-->
	<div class="album_subnav">
		<!--{loop $_FANWE['cache']['albums']['category'] $category}-->
		<!--<a href="{$category['url']}" title="{$category['name']}">{$category['name']}</a> -->
		<!--{/loop}-->
	</div><!--
	<div class="imagewall_sort">
		<div class="fl" style="margin-left:0" >
			<a>排序：</a>
			<a href="{u album sort=new}"{if $sort == 'new'} class="c"{/if}>最新</a>
			<a href="{u album sort=hot}"{if $sort == 'hot'} class="c"{/if}>最热</a>
		</div>
	</div>-->
	<div class="blank12"></div>
	<div id="album_container" class="albumwall album_td">
		<!--{eval $col_index = 0;}-->
		<!--{loop $share_display $share}-->
		<!--{eval $col_index++;}-->
		<div class="col{$col_index} col share_col">
	
			<div class="album_list_t" id="SHARE_LIST_{$share['share_id']}">
				<div class="hd"></div>
				<div class="bd">
					<div style="font-size:16px;font-weight:bold;margin:0px 8px;">{$share['title']}</div>
					<ul class="pic">
						<!--{loop $share['imgs'] $share_img}-->
							<a href="{u album/show id=$share['id']}" target="_blank"><img class="lazyload" original="{getimg $share_img['img'] 60 60}" src="./tpl/images/lazyload.gif"></a>
						<!--{/loop}-->
						<?php for($k=0; $k<9-count($share['imgs']); $k++){ ?>
							<a href="{u album/show id=$share['id']}" target="_blank"><img class="lazyload" style="width:60px;height:60px;" src="./tpl/images/lazyload.gif"></a>
						<?php } ?>
					</ul>
					<!-- 喜欢 
					<div class="favorite">
						<a href="javascript:;" class="favaImg" onclick="$.Fav_Share({$share['share_id']},this,32,'#SHARE_LIST_{$share['share_id']}');">喜欢</a>
						<div class="favDiv"> <a target="_blank" class="favCount SHARE_FAV_COUNT" href="{$share['url']}">{$share['collect_count']}</a><i></i></div>
						<span class="creply_n"> (<a href="{$share['url']}" target="_blank">{$share['comment_count']}</a>)</span>
						<a href="{$share['url']}" class="creply">评论</a>
					</div>
					-->
				</div>

			</div>

		</div>
		<!--{/loop}-->
	</div><script src="/public/data/tpl/js/b0648867796394a9dc04abb27ee8fea8.js" type="text/javascript" defer="true"></script><script src="/tpl/theui/js/zone.js" type="text/javascript"></script>

	<div class="blank12"></div>
	<!--{if $pager['page_count'] > 1}-->
	<div class="pagination"> 
		<!--{subtemplate inc/pages}--> 
	</div>
	<!--{/if}-->
</div>
<script type="text/javascript">/*
FANWE.NO_COUNTER = true;
var colHeight = 0;
var colIndex = 0;
var rowHtml = '<div class="album_list_t empty_row"><div class="hd"></div><div class="bd"></div><div class="ws_ft"></div></div>';
jQuery(function(){
	$(".share_col").each(function(i){
		$(this).append(rowHtml);
	});
	
	$(window).scroll(function(){
		$(".share_col").each(function(i){
			$('.empty_row .bd',this).height(0);
			if($(this).height() > colHeight)
			{
				colIndex = i;
				colHeight = $(this).height();
			}
		});
		
		$(".share_col").each(function(i){
			if(i != colIndex)
			{
				$('.empty_row .bd',this).height(colHeight - $(this).height());
			}
		});
	});
});*/
</script>
<!--{template inc/footer}-->
